stack iterator c#

90

stack iterator c# -

Stack<T> stack = null;
    while (stack.Count > 0)
    {
        T value = stack.Pop();
        // process value
    }

Comments

Submit
0 Comments